package com.mfkj.update.app

import android.content.Context
import android.os.Build
import androidx.multidex.MultiDexApplication
import me.weishu.reflection.Reflection

/**
 * @author JamesGZM
 * @description:
 * @date :3/27/21 3:32 PM
 */
class App : MultiDexApplication() {

    override fun attachBaseContext(base: Context?) {
        super.attachBaseContext(base)
        try {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
                Reflection.unseal(base)
        } catch (e: Exception) {
        }
    }
}